﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="Web.index" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table border="0" cellpadding="4" cellspacing="0" align="center">
            <tr>
                <td align="center"> Calculadora </td>
            </tr>
            <tr>
                <td> <asp:TextBox ID="txtNumero1" runat="server" /> </td> 
            </tr>
            <tr>
                <td> <asp:TextBox ID="txtNumero2" runat="server" /> </td>
            </tr>
            <tr>
                 <td align="center"> 
                    <asp:DropDownList id="cmbOperacao" runat="server">
                        <asp:ListItem Text="Sum" Value="SUM" />
                        <asp:ListItem Text="Subtract" Value="SUB" />
                        <asp:ListItem Text="Divide" Value="DIV" />
                        <asp:ListItem Text="Multiply" Value="MUL" />
                        <asp:ListItem Text="Power" Value="POW" />
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
               <td>
                   <asp:Label Text="" runat="server" ID="lblResult" />
                </td>
            </tr>
            <tr>
                <td align="center"> <asp:Button ID="btnOK" Text="OK" runat="server" 
                        onclick="btnOK_Click" /> </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
